﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EMR_System
{
    public class Session
    {
        private static Session instance = null;
        private User user = null;

        private Session() { }

        public User User
        {
            get { return user; }
            set { user = value; }
        }

        public static Session Instance
        {
            get
            {
                if (instance == null)
                    instance = new Session();

                return instance;
            }
        }
    }
}
